import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from "@shared/shared.module";
import {ReactiveFormsModule} from "@angular/forms";
import { AddTrialClassComponent } from './add-trial-class/add-trial-class.component';
import { AddTrialCampusComponent } from './add-trial-campus/add-trial-campus.component';
import { AddTrialCourseComponent } from './add-trial-course/add-trial-course.component';
import {SaleRoutingModule} from "./sale-routing.module";
import {SaleComponent} from "./sale.component";
import {SaleAddCustomerComponent} from "./add-customer/add-customer.component";
import {SaleDetailComponent} from "./sale-detail/sale-detail.component";
import {SaleDetailItemComponent} from "./sale-detail/detail-item/detail-item.component";
import {SaleRecordComponent} from "./sale-detail/record/record.component";
import {SaleService} from "./sale.service";
import {SaleIndexComponent} from "@sale/sale-index/sale-index.component";
import {CustomerListComponent} from "@sale/customer-list/customer-list.component";
import {ApplyRegistrationComponent} from "@sale/apply-registration/apply-registration.component";

@NgModule({
  imports: [
    CommonModule,
    SharedModule,
    SaleRoutingModule,
    ReactiveFormsModule
  ],
  declarations: [
    SaleComponent,
    SaleAddCustomerComponent,
    SaleDetailComponent,
    SaleDetailItemComponent,
    SaleRecordComponent,
    AddTrialClassComponent,
    AddTrialCampusComponent,
    AddTrialCourseComponent,
    SaleRecordComponent,
    SaleIndexComponent,
    CustomerListComponent,
    ApplyRegistrationComponent
  ],
  providers: [SaleService]
})
export class SaleModule { }
